package com.newly.common.base.exception;

/**
 * @program: file-client
 * @remark: 文件处理异常
 * @author: guan
 * @create: 2021-11-05 14:44
 */
public class FileClientException extends RuntimeException {
    public FileClientException() {
    }

    public FileClientException(String message) {
        super(message);
    }

    public FileClientException(String message, Throwable cause) {
        super(message, cause);
    }

    public FileClientException(Throwable cause) {
        super(cause);
    }

    public FileClientException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public static FileClientException getInstance(String msg) {
        return new FileClientException(msg);
    }
}
